package com.kgar.entity.graph.node;

import lombok.Data;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Relationship;

import java.util.List;

@Node("Recruiter")
@Data
public class RecruiterNode {
    @Id
    private Integer recruitId;


    @Relationship("ASSOCIATED_WITH")
    private UserNode userNode;

    @Relationship("HIRING_FOR")
    List<JobPositionNode> jobPositionNodes;


}
